﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace ChuanYe.WorkLogManagement.Api.Models
{
    public class WorkInfoRequest: DelWorkInfo
    {


        /// <summary>
        /// 工作内容
        /// </summary>
        public string WorkContent { get; set; }

        /// <summary>
        /// 重要性
        /// </summary>
        public int Level { get; set; }


        /// <summary>
        /// 完成情况状态
        /// </summary>
        public int? FinshState { get; set; }


        /// <summary>
        /// 完成情况内容
        /// </summary>
        public string FinshContent { get; set; }


        /// <summary>
        /// 备注
        /// </summary>
        public string Remark { get; set; }

        /// <summary>
        /// 是否 私有 
        /// </summary>
        public bool IsPrivate { get; set; }

        /// <summary>
        /// 增加时间
        /// </summary>
        public DateTime? AddTime { get; set; }

        /// <summary>
        /// 用户ID
        /// </summary>
        public int UserID { get; set; }

        /// <summary>
        /// 行号
        /// </summary>
        public int RowNumber { get; set; }
    }


    public class DelWorkInfo {
        /// <summary>
        /// 主键
        /// </summary>
        public string GUID { get; set; }
    }

    public class WorkInfoMultipleRequest
    {
        /// <summary>
        /// 多条日志记录
        /// </summary>
        public List<WorkInfoRequest> List { get; set; }
    }

    public class ExportRequest {

        /// <summary>
        /// 谁看
        /// </summary>
        public int FromUserID { get; set; }

        /// <summary>
        /// 看谁
        /// </summary>
        public int ToUserID { get; set; }

        /// <summary>
        /// 开始时间
        /// </summary>
        public DateTime? StartTime { get; set; }

        /// <summary>
        /// 结束时间
        /// </summary>
        public DateTime? EndTime { get; set; }
    }

    public class GetRequest 
    {
        /// <summary>
        /// 谁看
        /// </summary>
        public int FromUserID { get; set; }

        /// <summary>
        /// 看谁
        /// </summary>
        public int ToUserID { get; set; }

        /// <summary>
        /// 开始时间
        /// </summary>
        public DateTime? StartTime { get; set; }

        /// <summary>
        /// 结束时间
        /// </summary>
        public DateTime? EndTime { get; set; }


        /// <summary>
        /// 完成情况
        /// </summary>
        public int FinshState { get; set; }

        /// <summary>
        /// 重要性
        /// </summary>
        public int Level { get; set; }

    }


    public class WriteStatusRequest 
    {
        /// <summary>
        /// 开始时间
        /// </summary>
        public DateTime StartTime { get; set; }

        /// <summary>
        /// 结束时间
        /// </summary>
        public DateTime EndTime { get; set; }

        /// <summary>
        /// 用户ID
        /// </summary>
        public int UserID { get; set; }
    }



}
